﻿using EventNext;
using System;
using System.Collections.Generic;
using System.Text;

namespace Test
{

    class TokenAttribute : ActionFilterAttribute
    {
        //public override bool Executing(EventCenter center, EventActionHandler handler, IEventInput input, IEventOutput output)
        //{
        //    input.Properties.TryGetValue("token", out string token);
        //    typeof(ActorState).GetProperty("Token").SetValue(handler.Controller, token);
        //    //input.Token = token;
        //    return base.Executing(center, handler, input, output);
        //}
    }
}
